.banner {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    ul {
        width: 400%;
        height: 450px;
        position: relative;
        left: 0;
        li {
            height: 450px;
            float: left;
            img {
                height: 450px;
            }
        }
    }
    .dots {
        width: 100%;
        height: 16px;
        position: absolute;
        left: 0;
        bottom: 20px;
        display: flex;
        justify-content: center;
        .dot {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: 2px solid #fff;
            background-color: transparent;
            margin: 0 4px;
        }
        .dot-active {
            background-color: #fff;
        }
    }
}

$font-color:#747474;
.stairs {
    width: 60px;
    position: fixed;
    right: 15px;
    top: 484.5px;
    background-color: #fff;
    z-index: 99;
    text-align: center;
    .stair {
        border: 1px solid #dedede;
        margin-bottom: 2px;
        cursor: pointer;
        line-height: 34px;
        color: #ed5759;
        display: flex;
        justify-content: center;
        .floor_h {
            width: 100%;
            height: 100%;
            border: 1px solid #ed5759;
            background-color: #fdeeee;
        }
        span {
            display: none;
        }
        .spanactive {
            display: block;
        }
    }
}

.stair {
    &:hover {
        .floor_h {
            display: block;
        }
        .floor_s {
            display: none;
        }
    }
}

@mixin eleHover {
    &:hover {
        opacity: 0.8;
    }
}

@mixin omit {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fafafa;
}

main {
    color: $font-color;
    width: 1200px;
    h3 {
        height: 24px;
        margin: 14px 0;
        line-height: 24px;
        font-size: 18px;
        font-weight: 500;
    }
    .hot-selling {
        display: flex;
        justify-content: space-between;
        li {
            width: 295px;
            height: 180px;
            @include eleHover();
        }
    }
    .choiceness {
        height: 570px;
        display: flex;
        justify-content: space-between;
        &>a {
            width: 300px;
            height: 100%;
            @include eleHover();
        }
        ul {
            width: 890px;
            height: 100%;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            align-content: space-between;
            li {
                width: 290px;
                height: 280px;
                @include eleHover();
            }
            .wid-590 {
                width: 590px;
            }
        }
    }
    .floor-nav {
        height: 26px;
        line-height: 26px;
        margin-top: 35px;
        margin-bottom: 10px;
        display: flex;
        div {
            width: 107px;
            height: 26px;
            font-size: 14px;
            margin-right: 12px;
            display: flex;
            justify-content: space-between;
            span {
                width: 37px;
                height: 26px;
                background-color: #f90002;
                color: #fff;
                text-align: center;
            }
        }
        ul {
            height: 26px;
            display: flex;
            line-height: 26px;
            li {
                margin-right: 12px;
                cursor: pointer;
            }
            .li-active {
                color: #cc0000;
                border-bottom: 2px solid #cc0000;
            }
        }
    }
    .floor {
        height: 567px;
        display: flex;
        justify-content: space-between;
        .floor-left {
            img {
                width: 210px;
                height: 567px;
                @include eleHover();
            }
        }
        .floor-right {
            width: 978px;
            height: 567px;
            display: none;
            .big-li {
                img {
                    width: 348px;
                    height: 567px;
                    @include eleHover();
                }
            }
            ul {
                width: 620px;
                display: flex;
                justify-content: space-between;
                align-content: space-between;
                flex-wrap: wrap;
                .list-active {
                    box-shadow: 0 2px 5px #ddd;
                    border: 1px solid #E8E8E8;
                }
            }
        }
        .floor-active {
            display: flex;
            justify-content: space-between;
        }
    }
    h4 {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        margin-top: 9px;
        font-weight: 500;
    }
    .video {
        height: 180px;
        display: flex;
        justify-content: space-between;
        li {
            width: 280px;
            height: 180px;
            background-color: #fff;
            img {
                width: 280px;
                height: 142px;
                cursor: pointer;
            }
            p {
                height: 38px;
                padding: 10px 0;
                color: #666666;
                text-align: center;
                line-height: 18px;
                font-size: 14px;
            }
        }
    }
    .indexfoot_Reputation {
        margin-top: 30px;
        width: 1200px;
        height: 587px;
        img {
            width: 1200px;
            height: 418px;
        }
        ul {
            height: 143px;
            margin-top: 26px;
            padding: 40px 0;
            background-color: #fff;
            display: flex;
            li {
                width: 300px;
                padding: 0 25px;
                border-right: 1px solid #dedede;
                cursor: pointer;
                &:last-child {
                    border: none;
                }
                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}

.item {
    width: 200px;
    height: 280px;
    background-color: #fff;
    img {
        width: 200px;
        height: 200px;
        padding: 5px;
    }
    p {
        padding: 0 10px;
        width: 200px;
    }
    .title {
        height: 17px;
        font-size: 14px;
        margin-top: 10px;
        @include omit();
    }
    .trait {
        height: 12px;
        text-align: center;
        overflow: hidden;
        word-break: break-word;
        margin-top: 2px;
        color: #979797;
        font-size: 12px;
    }
    .price {
        height: 17px;
        line-height: 17px;
        margin-top: 15px;
        text-align: center;
        font-size: 14px;
        color: #FF4D4F;
    }
}